package com.jiujia.game.sdk.base.core.model;

/**
 * *************************************************
 * Class: JGameOrderInfo
 * Author: Jiujia
 * Time: 2025/5/2 17:22
 * Description: 请求支付实体类
 * *************************************************
 */
public class JGameOrderInfo {
    private String goodsID;         // 产品ID，用来识别购买的产品
    private String goodsName;       // 产品名称
    private String cpOrderID;       // 产品订单号（游戏方的订单号）
    private int price;              // 金额（分）
    private String goodsDesc;       // 商品描述
    private String extrasParams;    // 透传参数  服务器发送异步通知时原样回传(需要传纯字符串，不能传json格式)
    private String callbackUrl;     // 游戏支付回调地址，如后台也有配置，则优先通知后台设置的地址


    public String getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(String goodsID) {
        this.goodsID = goodsID;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getCpOrderID() {
        return cpOrderID;
    }

    public void setCpOrderID(String cpOrderID) {
        this.cpOrderID = cpOrderID;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getExtrasParams() {
        return extrasParams;
    }

    public void setExtrasParams(String extrasParams) {
        this.extrasParams = extrasParams;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    @Override
    public String toString() {
        return "JGameOrderInfo{" +
                "goodsID='" + goodsID + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", cpOrderID='" + cpOrderID + '\'' +
                ", price=" + price +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", extrasParams='" + extrasParams + '\'' +
                ", callbackUrl='" + callbackUrl + '\'' +
                '}';
    }
}
